package frontend

import "github.com/gogf/gf/v2/frame/g"

type LoginDoReq struct {
	g.Meta `path:"/user/login" method:"post" summary:"微信登录请求" tags:"登录"`
	Code   string `json:"code" v:"required#请携带微信code"   dc:"微信code"`
}

type LoginDoRes struct {
	Type     string `json:"type" dc:"认证前缀"`
	Token    string `json:"token" dc:"认证Token"`
	ExpireIn int    `json:"expire_in" dc:"有效时间"`
}
